# coding:utf-8

class Person(object):
    name = None
    age = None

    def run(self):
        print(f'{self.name} 在奔跑')

    def jump(self):
        print(f'{self.name} 在跳跃')

    def work(self):
        self.run()
        self.jump()


xiaomu = Person()
xiaomu.name = '小慕'
xiaomu.run()
xiaomu.jump()

dewei = Person()
dewei.jump()  # None 在跳跃

dewei.top = 175
print(dewei.top)
# print(xiaomu.top)   # AttributeError: 'Person' object has no attribute 'top'
print(dewei.age)
print('=========')
xiaomu.work()
